﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HomeWork
{
    internal class ReferenceValueType
    {
        public static void ModifyValue(int num)
        {
            num = 100; // 修改副本
            Console.WriteLine($"方法内: {num}"); // 输出 100
        }
    }


}
